Large XML on Small Devices: Techniques Developed in the Fuego Core Project
نویسندگان
چکیده
Storage capacity on limited and mobile devices has risen rapidly in recent years. The amount of available processing capacity is, however, still low, as it is limited by battery capacity. In this talk we look at techniques for efficiently processing the increasing amounts of data in XML format that can be fit on a mobile phone. The techniques were developed by the author and Jaakko Kangasharju as part of the Fuego XML stack in context of the Fuego Core project on mobility middleware. The XML processing techniques included in the Fuego XML stack that we present are: processing sequences of XML particles, parser/serializer byte stream access, parsing in a random access manner, using delayed tree structures and building mutability on these, as well as document packaging for synchronization. In many cases, it is unnecessary to construct the tree structure corresponding to the XML document in order to perform a processing task. Instead, the document may be processed as a sequence of XML particles, such as document start, element start, element end, content, and so on. In the Fuego XML stack, the XAS XML parsing and serialization API supports such sequential processing. We have developed an XML efficient differencing application based on sequential XML processing [1]. Oneway of embedding binary data in XMLdocuments is to use Base64encoding, and embed the resulting text as a text node in the XML document. However, this large text object frequently becomes a bottleneck in XML parsing and serialization. This situation can be remedied by providing access to the raw input and output streams of the XML parser and serializer. Care has to be taken to preserve a valid XML context when switching between byteand XML-level processing. In some cases, XML documents are too large to be accessed in a sequential manner, in which case a parser that can be quickly positioned at
منابع مشابه
How to edit gigabyte XML files on a mobile phone with XAS, RefTrees, and RAXS
The Open Source mobility middleware developed in the Fuego Core project provides a stack for efficient XML processing on limited devices. Its components are a persistent map API, advanced XML serialization and out-of-order parsing with byte-level access (XAS), data structures and algorithms for lazy manipulation and random access to XML trees (RefTree), and a component for XML document manageme...
متن کاملNanomedicine – The role of newer drug delivery technologies in cancer
Nanotechnology has slowly but steadily revolutionized the diagnosis, imaging and treatment of cancer. Detecting cancer at earliest stages, locating the tumor at different areas in the body and specific delivery of the drugs to malignant cells including surgically inaccessible tumors are the core areas of medical and pharmaceutical research across the world. In this endeavour, Nanodevices have e...
متن کاملNanomedicine – The role of newer drug delivery technologies in cancer
Nanotechnology has slowly but steadily revolutionized the diagnosis, imaging and treatment of cancer. Detecting cancer at earliest stages, locating the tumor at different areas in the body and specific delivery of the drugs to malignant cells including surgically inaccessible tumors are the core areas of medical and pharmaceutical research across the world. In this endeavour, Nanodevices have e...
متن کاملFuego: Middleware for Mobile Data Communication and Synchronization
In designing middleware for wireless mobile devices, the environment is notably different from its wired counterpart. Compared to fixed networks and hot-spots, wide-area wireless networks tend to offer lower bandwidth, and higher latency and pricing. The computing capabilities of devices are weaker, and every CPU cycle counts, as energy consumption is a key issue for making a device successful ...
متن کاملGas Sensor Based on Large Hollow-Core Photonic Bandgap Fiber
One concern in using photonic band-gap fiber (PBGF) as a gas sensor is the response time. In this type of the gas sensors, response time is the time required for gas to diffuse into the hollow-core. So considering a large hollow-core PBGF (HC-PBGF), the response time can be significantly reduced. But in the large HC-PBGF, the fundamental issue is the presence of higher order modes (HOMs). Somet...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007